home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / FREENET / BRODIE / FILEX_0 / !Filex / MakeFile < prev    next >
Makefile  |  1995-05-10  |  1KB  |  35 lines

  1. .SUFFIXES: .c .o
  2. LINKDEBUG=
  3. COMPDEBUG=-g
  4. HEADERS=filex.h filelist.h
  5. CLIB=c:o.stubs rolib:o.risc_oslib oslib:o.oslib filelist.o
  6. OBJS=filex.o $(CLIB)
  7. COMPILE=cc -c -IC: -Otime -fahu -fussy $(COMPDEBUG)
  8.  
  9. !RunImage:      filex.o filelist.o
  10.                 link -o !RunImage $(LINKDEBUG) $(OBJS)
  11.                 @squeeze -f !RunImage
  12.  
  13. filelist.o:     filelist.c filelist.h
  14.                 $(COMPILE) filelist.c
  15.  
  16. .c.o:;          $(COMPILE) $*.c
  17.  
  18. filex.o:        filex.c $(HEADERS)
  19.  
  20. CPOPT=fr~c~vn
  21.  
  22. release: !RunImage
  23.     @echo Building release of Filex
  24.     @Cdir Release
  25.     @Cdir Release.!Filex
  26.     @Cdir Release.!Filex.o
  27.     @Copy c Release.!Filex.c $(CPOPT)
  28.     @Copy h Release.!Filex.h $(CPOPT)
  29.     @Copy !Sprites Release.!Filex.!Sprites $(CPOPT)
  30.     @Copy Sprites  Release.!Filex.Sprites $(CPOPT)
  31.     @Copy Templates Release.!Filex.Templates $(CPOPT)
  32.     @Copy !Help Release.!Filex.!Help $(CPOPT)
  33.     @Copy !Run Release.!Filex.!Run $(CPOPT)
  34.     @Copy !RunImage Release.!Filex.!RunImage $(CPOPT)
  35.     @Copy Makefile Release.!Filex.MakeFile $(CPOPT)